let Mock = require('mockjs');
module.exports = {
    url: '/test',
    res: (req) => {
        //req.query — req.body
        return Mock.mock({
            "code": 0,
            "data|1-9": [{
                "id|+1": 1,
                "value|0-500": 20
            }],
            "msg": "success"
        })
    }

}